package com.example.hellowidget_1;

import android.view.View;
import android.view.View.OnClickListener;

public class ColorSetter implements OnClickListener {
	
	private MainActivity mainActivity;
	private int regionColor;
	
	public ColorSetter(int regionColor, MainActivity mainActivity) {
		this.mainActivity = mainActivity;
		this.regionColor = regionColor;
	}

	@Override
	public void onClick(View arg0) {
		mainActivity.setRegionColor(regionColor);
		// them dong nay vao tu local
    
		
	}

}
